<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <style>
    ul {
      padding: 0;
      margin: 0;
      list-style: none;
    }
    .inputFile {
      display: inline-block;
    }
    .btn {
      position: relative;
      display: block;
      width: 100px;
      height: 100px;
      line-height: 30px;
      text-align: center;
      border-radius: 5px;
      color: #fff;
      border: 1px dashed #aaa;
    }
    .btn::before {
      position: absolute;
      content: '';
      left: 50%;
      top: 50%;
      width: 60%;
      height: 5px;
      background: #ccc;
      border-radius: 5px;
      transform: translateX(-50%) translateY(-50%);
    }
    .btn::after {
      position: absolute;
      content: '';
      left: 50%;
      top: 50%;
      width: 60%;
      height: 5px;
      background: #ccc;
      border-radius: 5px;
      transform: translateX(-50%) translateY(-50%) rotateZ(90deg);
    }
    .filePreviews {
      display: inline-block;
      margin: 0 10px;
    }
    .filePreviews::after {
      display: block;
      content: '';
      clear: both;
    }
    .filePreview {
      float: left;
      width: 100px;
      height: 100px;
      background: red;
      margin: 0 10px;
    }
    .filePic{
      width: 100px;
      height: 100px;
      object-fit: contain;
    }
  </style>
</head>
<body>
  <div>
    <ul class="filePreviews">
    </ul>
    <div class="inputFile">
      <input type="file" id="inputFile" name="inputFile" style="display:none;"/>
      <label class="btn" for="inputFile"></label>
    </div>
  </div>

  <script src="/node_modules/jquery/dist/jquery.js"></script>
  <script SRC="./uploader.js"></script>
</body>
</html>